//
//  PPWebGrabProtocol.h
//  pickpic
//
//  Created by Jinxiao on 10/30/16.
//  Copyright © 2016 MicroDream. All rights reserved.
//

#import <Foundation/Foundation.h>

@class PPWebGrabProtocol;

@protocol PPWebGrabProtocolDelegate <NSObject>

- (void)protocol:(PPWebGrabProtocol *)protocal didRecognizedImageURL:(NSURL *)imageURL;

@end

@interface PPWebGrabProtocol : NSURLProtocol

+ (void)registerObserver:(id <PPWebGrabProtocolDelegate>)observer;
+ (void)unregisterObserver:(id <PPWebGrabProtocolDelegate>)observer;

@end
